<%@ Page Language="C#" MasterPageFile="~/StaffIntranet.Master" AutoEventWireup="true" CodeBehind="View.aspx.cs" Inherits="MCromwell.StaffIntranet.UI.View" Title="Initech Staff Intranet" EnableViewState="false" %>
<asp:Content ID="ViewContent" ContentPlaceHolderID="ContentPlaceHolder" runat="server">
            
    <form action="View.aspx" method="post" id="frmView" runat="server">
        <h1>Staff Details</h1>
        
        <p>
            <asp:Label ID="lblMessage" runat="server" Visible="False" CssClass="message" EnableViewState="False"></asp:Label>
        </p>
        <asp:table id="StaffDetailsTable" runat="server" EnableViewState="False" Visible="False" CssClass="detail-table">
            <asp:TableHeaderRow runat="server">
                <asp:TableHeaderCell ColumnSpan="2" HorizontalAlign="Left" runat="server">
                    <h2>
                        <asp:Label ID="lblStaffName" runat="server"></asp:Label>
                    </h2>
                </asp:TableHeaderCell>
            </asp:TableHeaderRow>
            <asp:TableRow runat="server">
                <asp:TableCell runat="server" VerticalAlign="Top">
                    <asp:Image ID="imgPhoto" runat="server" BorderStyle="Outset" BorderWidth="1px" />
                </asp:TableCell>
                
                <asp:TableCell runat="server" VerticalAlign="Top">
                    <asp:Table runat="server">
                        <asp:TableRow  runat="server">
                            <asp:TableHeaderCell ID="TableHeaderCell1" runat="server">Email:</asp:TableHeaderCell>
                            <asp:TableCell ID="TableCell1" runat="server">
                                <asp:LinkButton ID="lbtnEmailAddress" runat="server" EnableViewState="False">LinkButton</asp:LinkButton>
                            </asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow  runat="server">
                            <asp:TableHeaderCell ID="TableHeaderCell2" runat="server">Telephone:</asp:TableHeaderCell>
                            <asp:TableCell ID="TableCell2" runat="server">
                                <asp:Label ID="lblTelephone" runat="server" EnableViewState="False"></asp:Label>
                            </asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow  runat="server">
                            <asp:TableHeaderCell ID="TableHeaderCell3" runat="server">Ext:</asp:TableHeaderCell>
                            <asp:TableCell ID="TableCell3" runat="server">
                                <asp:Label ID="lblExtension" runat="server" EnableViewState="False"></asp:Label>
                            </asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow ID="TableRow1"  runat="server">
                            <asp:TableHeaderCell ID="TableHeaderCell4" runat="server">Location:</asp:TableHeaderCell>
                            <asp:TableCell ID="TableCell5" runat="server">
                                <asp:Label ID="lblLocation" runat="server" EnableViewState="False"></asp:Label>
                            </asp:TableCell>
                        </asp:TableRow>
                        <asp:TableRow runat="server">
                            <asp:TableCell ID="TableCell4" ColumnSpan="2" runat="server">
                                <asp:Button ID="btnBack" runat="server" Text="Back" />    
                            </asp:TableCell>
                        </asp:TableRow>
                                </asp:Table>
                            </asp:TableCell>
                        </asp:TableRow>
            
                    </asp:table>        
    </form>
</asp:Content>
